package com.runccyy.service;

import com.runccyy.dao.model.UserPO;
import com.runccyy.service.model.AuthInfo;

public interface UserService {

    UserPO getUserById(Long userId);

    Long insertUser(UserPO user);

    UserPO getUserByNameAndDepartment(String name, String department);

    AuthInfo authorize(String jsCode);

    UserPO getUserByOpenId(String openId);
}
